import React from 'react';
import Header from "./Header";
import Content from "./Content";

var PageHeaderWrapper = function PageHeaderWrapper(_ref) {
  var _ref$title = _ref.title,
      title = _ref$title === void 0 ? '' : _ref$title,
      header = _ref.header,
      headerProps = _ref.headerProps,
      contentProps = _ref.contentProps,
      children = _ref.children;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Header, Object.assign({
    title: title
  }, headerProps), header), /*#__PURE__*/React.createElement(Content, contentProps, children));
};

export default PageHeaderWrapper;